<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ taglib uri="/secu" prefix="secu"%>
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">
   <script language="javascript">
  <!--
  /**
   * 说明:系统菜单生成函数
   * 日期:20080817019992
   * 作者: yangshm
   * 编码:butf-8
   *
   * 取得X坐标
   */
  function getXPosition(id){
  	var e=document.getElementById(id);
	var x=e.offsetLeft;
	while(e=e.offsetParent){
		x+=e.offsetLeft;
	}
	return x;
   }	
  /**
   * 取得Y坐标
   */	
  function getYPosition(id){
	var e=document.getElementById(id);
	var y=e.offsetTop;
	while(e=e.offsetParent){
		y+=e.offsetTop;
	}
	return y;
   }

  /**
   * 显示DIV功能菜单
   */	
  var showMenuId=0;
  function   popUp(xyId,menuId)   {
    var x = getXPosition(xyId);
    var y = getYPosition(xyId)+20;
  	newX   =  x;// document.getElementById(menu).style.left;//window.event.clientX; 
  	newY   =  y;//document.getElementById(menu).style.top;//event.clientY;   
  	menu   =   document.getElementById(menuId);
  	menu.style.display   =   ""  
   	menu.style.top   =   newY;  
    menu.style.left   =   newX ;
    if(showMenuId!="0" && showMenuId!=menuId){
		popClose(showMenuId);
    }
    showMenuId=menuId;   
  }

   /**
   * 关闭DIV功能菜单
   */	
  function popClose(menuId){
     menu   =   document.getElementById(menuId);
     menu.style.display   =   "none";
  }

  -->
  </script> 
  <script>
	function resetIframeHeight(){
	  if (window.clipboardData){
		  var str=window.clipboardData.getData("text");
		  if (str){
			  var obj=document.getElementById("mainFrame");
			  if(str.match(/^frameHeight=\d+$/)){
			    obj.style.height=parseInt(str.match(/\d+/))+'px';
			    window.clipboardData.setData('text','null');
			  }
		  }else{
			  window.setInterval("resetIframeHeight()", 160);
		  }
	  }
	}
	//window.onload = resetIframeHeight;
	//window.setInterval("resetIframeHeight()", 200);
</script>
  
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<div id='mMENU_CATALOG' onmouseover="popUp('xyMENU_CATALOG','mMENU_CATALOG')"
	onmouseout="popClose('mMENU_CATALOG')"
	style="z-index: 3; position: absolute; top: 0; left: 0; display:none; padding: 1px; border: 0px solid #999999; width: 60px">
<table class="xltable" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<table width="93%" border="0" align="center" cellpadding="0"
			cellspacing="0" class=aa>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/catalog/viewProductSort.action?conds.sortType=2&conds.parentSort=0"/>')">产品目录</a></td>
			</tr>
			<secu:out resType="MODELMENU" code="MM_PRODRES">
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/product/showProductReferences.action"/>')">产品资料</a></td>
			</tr>
			</secu:out>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/product/showProductManagers.action"/>')">产品管理人员</a></td>
			</tr>
			<secu:out resType="MODELMENU" code="MM_UMAN">
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/product/singleupdate.action"/>')">产品资料维护</a></td>
			</tr>
			</secu:out>
			<secu:out resType="MODELMENU" code="ANNEX">
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/tmp/listAnnex.action"/>')">资料同步</a></td>
			</tr>
			</secu:out>
			
		</table>
		</td>
	</tr>
</table>
</div>
<div id='mMENU_SYSMAN' onmouseover="popUp('xyMENU_SYSMAN','mMENU_SYSMAN')"
	onmouseout="popClose('mMENU_SYSMAN')"
	style="z-index: 3; position: absolute; top: 0; left: 0; display:none; padding: 1px; border: 0px solid #999999; width: 60px">
<table class="xltable" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<table width="93%" border="0" align="center" cellpadding="0"
			cellspacing="0" class=aa>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/bpm/processStep.action"/>')">流程管理</a></td>
			</tr>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/organ/listPerson.action"/>')">组织管理</a></td>
			</tr>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/security/listUser.action"/>')">权限管理</a></td>
			</tr>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/system/dict/listDict.action"/>')">数据字典维护</a></td>
			</tr>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/bpm/appDocTemplete_findList.action"/>')">需求单模板管理</a></td>
			</tr>			
		</table>
		</td>
	</tr>
</table>
</div>
<div id='mMENU_SPMAN' onmouseover="popUp('xyMENU_SPMAN','mMENU_SPMAN')"
	onmouseout="popClose('mMENU_SPMAN')"
	style="z-index: 3; position: absolute; top: 0; left: 0; display:none; padding: 1px; border: 0px solid #999999; width: 60px">
<table class="xltable" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<table width="93%" border="0" align="center" cellpadding="0"
			cellspacing="0" class=aa>
			<secu:out resType="MODELMENU" code="MM_SP_BASE">
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/sp/toSp.action?act=toBaseInfo"/>')">合作商基础信息</a></td>
			</tr> 
			</secu:out>
			<secu:out resType="MODELMENU" code="MM_SP_COUNT">
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/sp/toSp.action?act=toBalance"/>')">合作商结算查询</a></td>
			</tr>
			</secu:out>
			<secu:out resType="MODELMENU" code="MM_SP_STATE"> 
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/sp/toSp.action?act=toComplain"/>')">投诉统计</a></td>
			</tr>
			</secu:out>
		</table>
		</td>
	</tr>
</table>
</div>
<div id='mMENU_SHAREREF' onmouseover="popUp('xyMENU_SHAREREF','mMENU_SHAREREF')"
	onmouseout="popClose('mMENU_SHAREREF')"
	style="z-index: 3; position: absolute; top: 0; left: 0; display:none; padding: 1px; border: 0px solid #999999; width: 60px">
<table class="xltable" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<table width="93%" border="0" align="center" cellpadding="0"
			cellspacing="0" class=aa>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/share/showAllShareReference.action"/>')">共享资料首页</a></td>
			</tr> 
			<secu:out resType="MODELMENU" code="SHAREREFMAN">
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/share/shareReference.action"/>')">共享资料维护</a></td>
			</tr>
			</secu:out>
			
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/bpm/opBusinessAnalysis.do?action=index"/>')">产品运营分析报告</a></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
<div id='mMENU_SPMS' onmouseover="popUp('xyMENU_SPMS','mMENU_SPMS')"
	onmouseout="popClose('mMENU_SPMS')"
	style="z-index: 3; position: absolute; top: 0; left: 0; display:none; padding: 1px; border: 0px solid #999999; width: 60px">
<table class="xltable" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<table width="93%" border="0" align="center" cellpadding="0"
			cellspacing="0" class=aa>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/search/listSearch.action"/>')">统一检索</a></td>
			</tr> 
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/search/toExpNet.action"/>')">专家网络</a></td>
			</tr>
			<tr>
				<td width="15" class=xx>
				<div align="center"><img src="<s:url value="/images/new/cpxx_dot1.gif"/>" width="9"
					height="9" /></div>
				</td>
				<td class=xx><a href="#" onclick="setFrameContent('<s:url value="/business/search/toNetMap.action"/>')">网站地图</a></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
<table width="980" border="0" align="center" cellpadding="0"
	cellspacing="0">
	<tr>
		<td>
		<table width="100%" border="0" cellpadding="0" cellspacing="0"	background="<s:url value="/images/new/cphdzx_home_1.gif"/>">
			<tr>
				<td width="262" height="86">&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td height="40">&nbsp;</td>
				<td valign="top">
				<span class="STYLE1">
				<s:iterator
					value="userContext.menus" id="menu">&nbsp;<a href="#" 
						onclick="menuClick('<s:property value="key"/>','<s:property value="value"/>')"
						class="a11" id="xy<s:property value="key"/>"><s:property
						value="name" /></a> <font color="#FFFFFF">|</font></s:iterator> 
					<a href="http://www.fjtelecom.com/dx_chanpxx.nsf/welcome?Openform&Area_code=fj/&" class="a11"> 进入旧系统 </a> <font color="#FFFFFF">|</font>
					<a href="<s:property value="link"/>" class="a11">返回OA </a>
				</span>
			</td>
			</tr>
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0"
			align="center">
			<tr valign="top">
				<td>
				<frameset>
					<iframe id="mainFrame" name="mainFrame"
						onload="changeScroll(this)"
					<s:if test="oaFlag==1">
						src="<s:url value="/bpm/pvc/newBusinessReq_findRunTaskList.action"/>" 
					</s:if>
					<s:else>
						src="<s:url value="/common/index.action"/>" 
					</s:else>
						frameborder="0"
						width="100%" height="100%"></iframe>
				</frameset>
				</td>
			</tr>
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td height="2" bgcolor="0A76BF"></td>
			</tr>
			<tr>
				<td height="80" bgcolor="BDDAEE">
				<p align="center">福建省电信有限公司信息产业分公司版权所有</p>
				<p align="center">电话：0591-83333169 地址：福州市东街7号省电信公司四楼</p>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<script>
	function menuClick(mID,mURL){
		var menu   =   document.getElementById("m"+mID);
		if (menu){
			popUp("xy"+mID,"m"+mID);
		}else{
			setFrameContent(mURL);
		}
	}

	function setFrameContent(url){
		document.getElementById("mainFrame").src=url;
	}
	function changeScroll(obj){
	    try{
			this.height=mainFrame.document.body.scrollHeight;
		}catch(e){}
	}
</script>